<%@ Register TagPrefix="uc1" TagName="ucTestata" Src="../controlli/ucTestata.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ucAnagrafica" Src="../controlli/ucAnagrafica.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ucTabelle" Src="../controlli/ucTabelle.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="esami.aspx.vb" Inherits="esami" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>SICOP</title><!--#Include File="../lib/calendar.asp"-->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="JavaScript">
				function apri(s, pag, p){ 
					if (pag=='')
						document.Form1.opName.value='esami.aspx';
					else
						document.Form1.opName.value='praticanti/esami.aspx';
					p = p + 'toolbar=no,location=no,menubar=no,resizable=yes,status=no,titlebar=no,scrollbars=yes,directories=no';
					window.open(s,null,p);
									}				
			--></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<INPUT id="opName" type="hidden" value="praticanti/esami.aspx" name="opName" runat="server">
			<div align="center">
				<table id="tabella di contorno" style="BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; BORDER-BOTTOM: 1px"
					borderColor="#de0029" cellSpacing="0" width="700">
					<tr>
						<td width="100%" bgColor="#de0029">
							<!-- testata --><uc1:uctestata id="UcTestata1" runat="server"></uc1:uctestata>
							<!-- fine testata -->
							<table cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
								<tr>
									<td vAlign="top" align="left" width="700">
										<p>
											<table id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
												<tr>
													<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
													<td colspan="2"><a href="../home.aspx"><span class="blu"><b>&gt; Home</b></span></a></td>
													<td align="right">
														<!-- inizio tabelle tasti --><uc1:uctabelle id="UcTabelle1" runat="server"></uc1:uctabelle>
														<!-- fine tabelle tasti --></td>
												</tr>
												<tr>
													<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
													<td width="36"><IMG height="11" src="../images/quadratino_rosso.gif" width="10"></td>
													<td><span class="titolo"><SPAN class="titolo">Registro </SPAN>Praticanti
															<asp:Label id="lbDesc" runat="server">Label</asp:Label></span></td>
													<td align="right"><asp:linkbutton id="lkElenco" CssClass="blu" Runat="server" CausesValidation="False"><img src="../images/vaiElenco.gif" border="0">&nbsp;elenco</asp:linkbutton>&nbsp;</td>
												</tr>
											</table>
										</p>
									</td>
								</tr>
								<tr>
									<td><IMG height="10" src="../images/x.gif"></td>
								</tr>
								<TR>
									<td>
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td vAlign="top" align="left" width="6"><IMG height="1" src="../images/x.gif" width="6" border="0"></td>
												<td align="right"></td>
											</tr>
										</table>
										<p></p>
										<TABLE id="table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TBODY>
												<TR>
													<TD vAlign="top" align="left" width="700">
														<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#fdeff1">
															<TBODY>
																<TR>
																	<TD style="HEIGHT: 23px" colSpan="2" height="23"><IMG height="1" src="../images/x.gif" width="1" border="0"><uc1:ucanagrafica id="UcAnag" runat="server"></uc1:ucanagrafica>
																		<input class="nero" id="lbDati" style="COLOR: red; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none"
																			type="text" maxLength="0" size="81" name="lbDati" runat="server"></TD>
																</TR>
																<TR>
																	<TD align="right" background="../images/riga_blu.gif" colSpan="2"><IMG height="16" src="../images/x.gif" width="112" border="0"></TD>
																</TR>
															</TBODY>
														</TABLE>
														<TABLE height="18" cellSpacing="0" cellPadding="0" width="700">
															<TBODY>
																<TR>
																	<td style="HEIGHT: 13px" vAlign="top" align="left" width="6" background="../images/riga_rossa_sopra.gif"><IMG height="18" src="images/x.gif" width="6" border="0"></td>
																	<TD background="../images/riga_rossa_sopra.gif"><IMG height="1" src="../images/x.gif" width="4" border="0"></TD>
																	<TD width="11"><IMG height="18" src="../images/curva_sx_off.gif" width="11" border="0"></TD>
																	<TD noWrap background="../images/tab_off.gif"><asp:linkbutton id="lkDati" Runat="server" CssClass="ordinato_bold" CausesValidation="False"> iscrizione</asp:linkbutton></TD>
																	<TD width="13"><IMG height="18" src="../images/curva_dx_off.gif" width="13" border="0"></TD>
																	<TD width="11"><IMG height="18" src="../images/curva_sx_off.gif" width="11" border="0"></TD>
																	<TD noWrap background="../images/tab_off.gif"><asp:linkbutton id="lkAltro" Runat="server" CssClass="ordinato_bold" CausesValidation="False"> indirizzi/titoli di studio</asp:linkbutton></TD>
																	<TD width="13"><IMG height="18" src="../images/curva_dx_off.gif" width="13" border="0"></TD>
																	<TD width="11"><IMG height="18" src="../images/curva_sx_off.gif" width="11" border="0"></TD>
																	<TD noWrap background="../images/tab_off.gif"><asp:linkbutton id="lkProf" Runat="server" CssClass="ordinato_bold" CausesValidation="False"> praticantato</asp:linkbutton></TD>
																	<TD width="13"><IMG height="18" src="../images/curva_dx_off.gif" width="13" border="0"></TD>
																	<TD width="11"><IMG height="18" src="../images/curva_sx_on.gif" width="11" border="0"></TD>
																	<TD noWrap background="../images/tab_on.gif"><SPAN class="ordinatoAttivo_bold">esami di 
																			stato</SPAN></TD>
																	<TD width="13"><IMG height="18" src="../images/curva_dx_on.gif" width="13" border="0"></TD>
																	<TD width="100%" background="../images/riga_rossa_sopra.gif"><IMG height="1" src="../images/x.gif" width="1" border="0"></TD>
																	<td style="HEIGHT: 13px" vAlign="top" align="left" width="6" background="../images/riga_rossa_sopra.gif"><IMG height="18" src="images/x.gif" width="6" border="0"></td>
																</TR>
															</TBODY>
														</TABLE>
														<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#fff8f9">
															<TBODY>
																<TR>
																	<td style="HEIGHT: 13px" vAlign="top" align="left" width="6" bgColor="#fff8f9"><IMG height="1" src="images/x.gif" width="6" border="0"></td>
																	<TD align="right" bgColor="#fff8f9" colSpan="2"><IMG height="16" src="../images/x.gif" width="112" border="0"></TD>
																</TR>
															</TBODY>
														</TABLE>
													</TD>
									</td>
								</TR>
							</table>
							<table cellSpacing="0" cellPadding="0" width="700" border="0" bgcolor="#fff8f9">
								<TR>
									<td vAlign="top" align="left" width="6"><IMG height="1" src="../images/x.gif" width="6" border="0"></td>
									<TD vAlign="top" align="left" width="688">
										<p>
											<TABLE bgcolor="#ffffff" borderColor="#1a49a3" cellSpacing="1" cellPadding="4" width="100%"
												border="1">
												<tr>
													<td vAlign="top" colSpan="4"><SPAN class="blu"><IMG height="7" src="../images/quadratino_blu.gif" width="7">&nbsp;<B>Ammissione</B></SPAN></td>
												</tr>
												<tr>
													<td><span class="nero">Data ammissione</span><BR>
														<asp:textbox id="txDataAb" CssClass="nero" runat="server" Width="80px" ReadOnly="True"></asp:textbox><IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataAb,txDataAb);" height="16" src="../images/calbutton.gif"
															width="16" border="0">
													</td>
													<td><span class="nero">Motivo</span><br>
														<asp:dropdownlist id="dMotivo" runat="server" CssClass="nero" DataValueField="codice" DataTextField="descrizione"></asp:dropdownlist></td>
													<td><span class="nero">Data delibera</span><BR>
														<asp:textbox id="txDataDel" CssClass="nero" runat="server" Width="80px" ReadOnly="True"></asp:textbox><IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataDel,txDataDel);" height="16" src="../images/calbutton.gif"
															width="16" border="0">
													</td>
													<td><span class="nero">Numero delibera</span><BR>
														<asp:textbox CssClass="nero" id="txNumDel" runat="server"></asp:textbox></td>
												</tr>
												<tr>
													<td align="right" colSpan="4">&nbsp;&nbsp;&nbsp;
														<asp:linkbutton id="lkSalvaAb" Runat="server" CssClass="blu" CausesValidation="False"><img src="../images/salva.gif" border="0">&nbsp;salva</asp:linkbutton>&nbsp;&nbsp;
														<asp:linkbutton id="lkAnnullaAb" Runat="server" CssClass="blu" CausesValidation="False"><img src="../images/annulla.gif" border="0">&nbsp;annulla</asp:linkbutton>&nbsp;&nbsp;</td>
												</tr>
											</TABLE>
										</p>
										<asp:datagrid id="dgEsami" runat="server" Width="100%" GridLines="Horizontal" BorderColor="#1A49A3"
											PagerStyle-CssClass="ordinato" AllowSorting="True" AutoGenerateColumns="False" PagerStyle-Mode="NumericPages"
											PagerStyle-Position="Top" AllowPaging="false" BackColor="White">
											<Columns>
												<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top"></HeaderStyle>
													<ItemStyle CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<span class="blu"><b>Sessione</b></span>
													</HeaderTemplate>
													<ItemTemplate>
														<asp:LinkButton id="lkVedi" CausesValidation="False" CssClass="nero_bold" CommandName="vedi" runat="Server">
															<%# DataBinder.Eval(Container.DataItem, "sessione") %>
														</asp:LinkButton>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top"></HeaderStyle>
													<ItemStyle CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<span class="blu"><b>Presso</b></span>
													</HeaderTemplate>
													<ItemTemplate>
														<%# DataBinder.Eval(Container.DataItem, "presso") %>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<HeaderStyle VerticalAlign="Top"></HeaderStyle>
													<ItemStyle Width="150px" CssClass="nero"></ItemStyle>
													<HeaderTemplate>
														<span class="blu"><b>Esito</b></span>
													</HeaderTemplate>
													<ItemTemplate>
														<%# DataBinder.Eval(Container.DataItem, "esito") %>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:TemplateColumn>
													<ItemTemplate>
														<asp:LinkButton Runat="server" CausesValidation="False" ID="lkElimina" CommandName="elimina" CssClass="blu"><img src="../images/elimina.gif" border="0">&nbsp;elimina</asp:LinkButton>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
										</asp:datagrid>
										<p><asp:linkbutton id="lkNuovo" Runat="server" CssClass="blu"><img src="../images/aggiungi.gif" border="0">&nbsp;aggiungi</asp:linkbutton>
											<TABLE borderColor="#1a49a3" cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff"
												border="1">
												<tr>
													<td style="HEIGHT: 24px" colSpan="2"><SPAN class="blu"><IMG height="7" src="../images/quadratino_blu.gif" width="7">&nbsp;<B>Dati 
																esame di stato</B></SPAN><asp:textbox id="txId" Runat="server" Visible="False"></asp:textbox></td>
												</tr>
												<tr>
													<td><span class="nero">Sessione esame</span><br>
														<asp:dropdownlist id="dSessione" runat="server" CssClass="nero" DataValueField="id" DataTextField="descrizione"></asp:dropdownlist><A href="javascript:apri('sessioniEsami.aspx','', 'width=800,height=600,');"><IMG id="Img3" src="../images/lente.gif" border="0"></A>&nbsp;
														<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" CssClass="nero" ErrorMessage="Obbligatorio"
															ControlToValidate="dSessione"></asp:RequiredFieldValidator></td>
													<td><span class="nero">Esito</span><br>
														<asp:dropdownlist id="dEsito" runat="server" CssClass="nero" DataValueField="codice" DataTextField="descrizione"></asp:dropdownlist>&nbsp;
														<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" CssClass="nero" ErrorMessage="Obbligatorio"
															ControlToValidate="dEsito"></asp:RequiredFieldValidator></td>
												</tr>
												<tr>
													<td align="right" colSpan="2">&nbsp;&nbsp;
														<asp:linkbutton id="lkSalva" Runat="server" CssClass="blu"><img src="../images/salva.gif" border="0">&nbsp;salva</asp:linkbutton>&nbsp;
														<asp:linkbutton id="Linkbutton1" Runat="server" CssClass="blu" CausesValidation="False"><img src="../images/annulla.gif" border="0">&nbsp;annulla</asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
												</tr>
											</TABLE>
										</p>
									</TD>
									<td vAlign="top" align="left" width="6"><IMG height="1" src="../images/x.gif" width="6" border="0"></td>
								</TR>
							</table>
							<!-- tabella di chiusura -->
							<TABLE id="chiusura" cellSpacing="0" cellPadding="0" width="100%" bgColor="#fff8f9">
								<tr>
									<td height="5"><IMG height="5" alt="" src="../images/x.gif"></td>
								</tr>
								<tr>
									<td background="../images/chiusuraRossa.gif" height="14">
										<div align="center"><b><font face="Tahoma" color="#ffffff" size="1">Techno<i>service</i> 2005. 
													All rights reserved</font></div>
										</B></td>
								</tr>
							</TABLE>
							<!-- chiusura tabella di bordo --></td>
					</tr>
				</table>
			</TD></TR></TBODY></TABLE></form>
		</DIV>
	</body>
</HTML>
